﻿using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;

namespace Zj.DDDSample.Repositories.EntityFrameworkCore.Migrations
{
    public partial class InitDb_04 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "EndTime",
                schema: "dbo",
                table: "Item",
                newName: "ProjectId");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "ProjectId",
                schema: "dbo",
                table: "Item",
                newName: "EndTime");
        }
    }
}
